﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using deviceManage.Models;
using deviceManage.vo;

namespace deviceManage.Tools
{
    public class WebContext
    {
        /// <summary>
        /// 当前登录用户ID的session key
        /// </summary>
        public static readonly string SESSION_KEY_USER_ID = "user_id";
        /// <summary>
        /// 当前登录用户名称的session key
        /// </summary>
        public static readonly string SESSION_KEY_USER_NAME = "user_name";
    }
}
